#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;

int main() {
    int a, b;
    puts("hello");
    while (cin >> a >> b) {  // 处理多组输入
        cout << a + b << endl;
        cout << a * b << endl;
    }
    return 0;


}